package com.igeekhome.mapper;

import com.igeekhome.pojo.ScanRecord;
import com.igeekhome.pojo.ScanRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScanRecordMapper {
    int countByExample(ScanRecordExample example);

    int deleteByExample(ScanRecordExample example);

    int deleteByPrimaryKey(Integer scanRecondId);

    int insert(ScanRecord record);

    int insertSelective(ScanRecord record);

    List<ScanRecord> selectByExample(ScanRecordExample example);

    ScanRecord selectByPrimaryKey(Integer scanRecondId);

    int updateByExampleSelective(@Param("record") ScanRecord record, @Param("example") ScanRecordExample example);

    int updateByExample(@Param("record") ScanRecord record, @Param("example") ScanRecordExample example);

    int updateByPrimaryKeySelective(ScanRecord record);

    int updateByPrimaryKey(ScanRecord record);
}